package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl;

import java.util.HashMap;

import com.seanchenxi.gwt.wordpress.domain.model.Author;
import com.seanchenxi.gwt.xmlrpc.client.model.impl.BaseModelImpl;

public class AuthorImpl extends BaseModelImpl implements Author {
	
	/**
	 * Generated id
	 */
	private static final long serialVersionUID = -5790379117489568670L;

	public AuthorImpl() {
		super();
	}

	public AuthorImpl(HashMap<String, Object> properties) {
		super(properties);
	}

	@Override
	public int getUserId() {
		return get("user_id");
	}

	@Override
	public void setUserId(int user_id) {
		set("user_id", user_id);

	}

	@Override
	public String getUserLogin() {
		return get("user_login");
	}

	@Override
	public void setUserLogin(String user_login) {
		set("user_login", user_login);

	}

	@Override
	public String getDisplayName() {
		return get("display_name");
	}

	@Override
	public void setDisplayName(String display_name) {
		set("display_name", display_name);

	}

	@Override
	public String getUserEmail() {
		return get("user_email");
	}

	@Override
	public void setUserEmail(String user_email) {
		set("user_email", user_email);

	}

	@Override
	public String getMetaValue() {
		return get("meta_value");
	}

	@Override
	public void setMetaValue(String meta_value) {
		set("meta_value", meta_value);
	}

}
